home *** CD-ROM | disk | FTP | other *** search
- .KEY file,archive,desc
- ;.DEF file=nix
- .BRA <
- .KET >
-
-
- ;;; This script will be executed after an Upload with the
- ;;; name of the Uploaded file.
-
- ;;; archive = "RAW" | "ZIP | "LHA" | "LZX" | "ZOO" | "ARJ" | "ARC" | "DMS"
-
-
- cd tron:upload
-
-
- ;;; In this script you can check for viruses
-
- ;makedir ram:vircheck
- ;copy <file> ram:vircheck
- ;lha e ram:vircheck/<file> ram:vircheck
- ;virus_checker -q >t:infec STDOUT RAM:vircheck/
- ;delete ram:vircheck/#? all
- ;delete ram:vircheck
-
-
- ;;; In this script you can remove BBS ads
-
- ;;; In this script you can extract file descriptions (File_ID.DIZ)
- ;;; for use by the BBS
-
-
- IF <archive> EQ raw
- list tron:upload/<file> >>tron:log/uploadlist
- EndIf
-
- IF <archive> EQ zip
- unzip -d <file> File_ID.DIZ
- ; unzip -l <file> >>tron:log/uploadlist
- unzip -t <file> >>tron:log/uploadlist
- EndIf
-
- IF <archive> EQ lha
- lha d <file> #?.displayme
- lha x <file> File_ID.DIZ
- ; lha l <file> >>tron:log/uploadlist
- lha t <file> >>tron:log/uploadlist
- EndIf
-
- IF <archive> EQ lzx
- lzx d <file> #?.displayme
- lzx x <file> File_ID.DIZ
- ; lzx l <file> >>tron:log/uploadlist
- lzx t <file> >>tron:log/uploadlist
- EndIf
-
- IF <archive> EQ zoo
- ; zoo D <file> #?.displayme
- zoo e <file> File_ID.DIZ
- ; zoo l <file> >>tron:log/uploadlist
- zoo -t <file> >>tron:log/uploadlist
- EndIf
-
- IF <archive> EQ arj
- unarj l <file> >>tron:log/uploadlist
- unarj t <file> >>tron:log/uploadlist
- EndIf
-
- IF <archive> EQ arc
- arc d <file> #?.displayme
- arc x <file> File_ID.DIZ
- ; arc l <file> >>tron:log/uploadlist
- arc t <file> >>tron:log/uploadlist
- EndIf
-
- IF <archive> EQ dms
- ; dms View <file> >>tron:log/uploadlist
- dms Test <file> >>tron:log/uploadlist
- EndIf
-
-
- IF exists File_ID.DIZ
- rename File_ID.DIZ <desc>
- EndIf
-
-
- cd tron:
-
-